// 全局样式

.section {
  .mCenter();
  .center;
  position: relative;
  .sectionTitle {
    width: @wid;
    .mCenter;
    .size(26px);
    .lh(140px);
    span {
      padding: 5px 3px;
      border-bottom: 4px solid @info;
    }
  }
}

.hr{
  width:100%;
  height:1px;
  background: @border;
}

// transition spread
.spread-enter-active {
  animation: spread-in .5s;
  overflow: hidden;
}

.spread-leave-active {
  overflow: hidden;
  animation: spread-in .3s reverse;
}

@keyframes spread-in {
  0% {
    max-height: 0;
  }
  100% {
    max-height: 500px;
  }
}

@keyframes glowing-green {
  from {
      box-shadow: 0 0 0 rgba(46, 204, 113,0.3);
  }
  50% {
      box-shadow: 0 0 20px rgba(46, 204, 113,0.8);
  }
  to {
      box-shadow: 0 0 0 rgba(46, 204, 113,0.3);
  }
}

// transition bounce
.bounce-enter-active {
  animation: bounce-in .5s;
}
.bounce-leave-active {
  // animation: bounce-in .5s reverse;
}
@keyframes bounce-in {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(.97, .97, .97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
.bounceIn {
  animation-name: bounceIn;
}

@keyframes tada {
  from {
    transform: scale3d(1, 1, 1);
  }

  10%, 20% {
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%, 50%, 70%, 90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%, 60%, 80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}
.tada {
  animation-name: tada;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInDown {
  animation-name: fadeInDown;
}


@keyframes flip {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    animation-timing-function: ease-out;
  }

  40% {
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    animation-timing-function: ease-out;
  }

  50% {
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    animation-timing-function: ease-in;
  }

  80% {
    transform: perspective(400px) scale3d(.95, .95, .95);
    animation-timing-function: ease-in;
  }

  to {
    transform: perspective(400px);
    animation-timing-function: ease-in;
  }
}

.animated.flip {
  backface-visibility: visible;
  animation-name: flip;
}

// 首页波浪动画1
@keyframes h{
  0%{
    left: -0%;
  }
  100%{
    left: -1900%;
  }
}
// 首页波浪动画2
@keyframes g{
  0%{
    left: -1900%;
  }
  100%{
    left: -0%;
  }
}